@s: "./999/sprite/";
@i: "./999/img/";

* {
	margin: 0;
	padding: 0;
	background-size: cover;
}
html {
	height: 100%;
	font-family: 微软雅黑;
}
body {
	height: 100%;
	font-size: 16px;
	background-size: 100%;
}
.head {
	height: 0.9rem;
	background: url("@{s}ti0.jpg");
	background-size: cover;
}
.take-bg {
	width: 7.5rem;
	height: 3.48rem;
	background-image: url("@{i}bg-take.png");
	background-size: cover;
	margin-top: -0.5rem;
}
.vivo-logo {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 2.85rem;
	height: 0.7rem;
	background: url("@{s}bb.png");
	background-size: contain;
}
.wrapper {
	height: 100%;
}
.p-index {
	background-image: url("@{i}bg1.jpg");
	.rules-btn {
		position: absolute;
		right: 0;
		top: 0;
		width: 1rem;
		height: 1rem;
	}
	.rules-close {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: -0.05rem;
		width: 1rem;
		height: 1rem;
	}
	.rules {
		display: none;
		background-image: url("@{i}rules.png");
		background-size: cover;
		width: 5.07rem;
		height: 6.2rem;
		position: fixed;
		top: 5rem;
		left: 50%;
		transform: translateX(-50%);
	}
	.go {
		@size: 1.63rem;
		display: block;
		width: @size;
		height: @size;
		position: absolute;
		top: 8.75rem;
		left: 50%;
		transform: translateX(-50%);
		border-radius: @size;
	}
}
.p-take1 {
	background-color: #fff;
	.tack-block {
		background: #000;
		height: 7.5rem;
		background-image: url("@{s}bars.jpg");
		background-repeat: no-repeat;
		background-position: center top;
		background-size: 100% auto;
	}
	.take-btn-container {
		@size: 1.65rem;
		width: @size;
		height: @size;
		background: url("@{s}b.png");
		background-size: cover;
		margin: 1rem auto 0 auto;
		display: block;
	}
	.take-btn {
		@size: 1.65rem;
		width: @size;
		height: @size;
		opacity: 0;
	}
}
.p-take2 {
	background: #fff;
	.tack-block {
		background: #000;
		height: 7.5rem;
		position: relative;
		overflow: hidden;
	}
	.picture-container {
		width: 100%;
		height: 100%;
	}
	.picture-move {
		position: absolute;
		z-index: 3;
		width: 100%;
		height: 100%;
		background: url("@{s}icons.jpg") center 6.8rem no-repeat;
		background-size: 91px auto;
	}
	.picture-cover {
		position: absolute;
		z-index: 2;
		width: 100%;
		height: 100%;
		background: url("@{i}t1.png");
		background-size: cover;
	}
	.picture {
		position: absolute;
		z-index: 1;
		width: 100%;
		transform-origin: top left;
	}
	.texts {
		text-align: center;
		line-height: 1rem;
		font-size: 0.12rem;
	}
	.choose {
		font-size: 0;
		text-align: center;
		position: relative;
		height: 1.27rem;
		[class^=choose] {
			width: 1.27rem;
			height: 1.27rem;
			display: inline-block;
			background-size: cover;
			margin: 0 0.08rem;
			position: relative;
			&.active:after {
				display: block;
				content: '';
				position: absolute;
				width: 0.42rem;
				height: 0.42rem;
				bottom: -0.3rem;
				left: 50%;
				transform: translateX(-50%);
				background: url("@{s}c.png");
				background-size: cover;
			}
		}
		.choose1 {
			background-image: url("@{i}tt1.jpg");
		}
		.choose2 {
			background-image: url("@{i}tt2.jpg");
		}
		.choose3 {
			background-image: url("@{i}tt3.jpg");
		}
	}
	.back, .finish {
		display: inline-block;
		margin: 0 0.4rem;
		/*position: absolute;*/
		width: 0.98rem;
		height: 0.98rem;
		background-size: cover;
		bottom: -0.49rem;
		background-color: #008dd6;
		border-radius: 1000px;
	}
	.back {
		background-image: url("@{s}b1.png");
		left: 0.4rem;
	}
	.finish {
		background-image: url("@{s}b2.png");
		right: 0.4rem;
	}
}
.p-take3 {
	background: #fff;
	.tack-block {
		background: #000;
		height: 7.5rem;
		position: relative;
		overflow: hidden;
	}
	.picture-container {
		width: 100%;
		height: 100%;
	}
	.picture-move {
		position: absolute;
		z-index: 3;
		width: 100%;
		height: 100%;
	}
	.picture-cover {
		position: absolute;
		z-index: 2;
		width: 100%;
		height: 100%;
		background: url("@{i}t1.png");
		background-size: cover;
	}
	.picture {
		position: absolute;
		z-index: 1;
		width: 100%;
	}
	.scores {
		height: 5.68rem;
		position: relative;
		background: url("@{i}s1.png");
		background-size: cover;
		background-position: -0.8rem 0;
		z-index: 10;
	}
	.score-text {
		font-size: 0.8rem;
		color: #fff;
		position: absolute;
		top: 2.4rem;
		left: 3rem;
	}
	.text-l1, .text-l2 {
		position: absolute;
		color: #fff;
		
	}
	.text-l1 {
		top: 1rem;
		font-size: 0.4rem;
		width: 100%;
		text-align: center;
	}
	.text-l2 {
		top: 2.3rem;
		font-size: 0.3rem;
	}
	.btns {
		position: absolute;
		top: 3.7rem;
		font-size: 0;
		width: 100%;
		text-align: center;
	}
	.btn {
		width: 0.98rem;
		height: 0.98rem;
		background-size: cover;
		margin: 0 0.2rem;
		display: inline-block;
	}
	.b1 {
		background-image: url("@{s}b1.png");
	}
	.b2 {
		background-image: url("@{s}b5.png");
	}
	.b3 {
		background-image: url("@{s}b4.png");
	}
	.b4 {
		background-image: url("@{s}b8.png");
	}
	.b5 {
		background-image: url("@{s}b6.png");
	}
	.share-tip {
		position: fixed;
		z-index: 10;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		background-color: rgba(0,0,0,1);
		background-image: url("@{i}1.png");
		background-size: contain;
		background-repeat: no-repeat;
		display: none;
	}
}
.p-lottery1 {
	background-image: url("@{i}bg2.jpg");
	.wrapper {
		background: url("@{i}2.jpg") center 3.1rem no-repeat;
		background-size: 6.5rem;
		table {
			margin: 2.35rem auto 0 auto;
			width: 6.12rem;
			display: block;
			td {
				box-sizing: border-box;
				width: 2.04rem;
				height: 2.04rem;
				&.active {
					border: solid 4px #ff535e;
				}
			}
		}
		.lottery-info {
			color: #fff;
			width: 6.5rem;
			box-sizing: border-box;
			margin: 0.14rem auto;
			padding: 0.2rem 0.3rem;
			line-height: 1.8;
			position: relative;
			.l1 {
				font-size: .36rem;
			}
			.l {
				font-size: 0.32rem;
			}
			.code {
				text-decoration: underline;
			}
			a {
				display: block;
				position: absolute;
				bottom: 0.2rem;
				width: 0.98rem;
				height: 0.98rem;
				background-size: cover;
				border-radius: 1000px;
			}
			.go {
				right: 0.2rem;
				background-image: url("@{s}b7.png");
			}
			.buy {
				right: 1.5rem;
				background-image: url("@{s}b10.jpg");
			}
			.buy-rule {
				right: 0.2rem;
				background-image: url("@{s}b11.png");
			}
			&.a {
				background-color: #ff535e;
				.buy, .buy-rule {
					display: none;
				}
				.aa {
					display: none;
				}
			}
			&.b {
				background-color: #ffbe2a;
				.go {
					display: none;
				}
				.bb {
					display: none;
				}
			}
		}
		.l-info {
			display: none;
			position: fixed;
			z-index: 10;
			top: 3.25rem;
			left: 50%;
			transform: translateX(-50%);
			width: 6.47rem;
			height: 8.48rem;
			background: url("@{i}l-info.jpg");
			background-size: cover;
			.close {
				position: absolute;
				bottom: 0.2rem;
				left: 50%;
				transform: translateX(-50%);
				width: 1rem;
				height: 1rem;
			}
		}
	}
}
.p-form {
	background: url("@{i}bg2.jpg") no-repeat;
	background-size: contain;
	.wrapper {
		.form {
			margin: 2.2rem auto 0 auto;
			width: 6.5rem;
			display: block;
			background-color: #fff;
			padding: 0.8rem 0;
			&>div {
				line-height: 0.65rem;
				text-align: right;
				letter-spacing: 0.04rem;
				width: 90%;
				margin: 0.26rem auto;
				font-size: 0.32rem;
				&:last-of-type {
					letter-spacing: 0;
				}
			}
			input {
				background-color: #eee;
				height: 0.65rem;
				border-radius: 3px;
				border: none;
				text-indent: 10px;
				width: 3.8rem;
			}
			.submit {
				width: 0.98rem;
				height: 0.98rem;
				background-image: url("@{s}b3.png");
				background-size: cover;
				display: block;
				margin: 1rem auto 0 auto;
			}
		}
	}
}
.p-wall {
	.wrapper {
		background: url("@{i}bg3.jpg") center top no-repeat;
		background-size: contain;
		border: solid 1px rgba(0,0,0,0);
		box-sizing: border-box;
	}
	.wall {
		margin-top: 3.5rem;
		background: url("@{i}4.png") center top no-repeat;
		background-size: 6.73rem;
		padding-top: 1.35rem;
	}
	.table-wall {
		height: 6rem;
		overflow-y: auto;
	}
	table {
		border: solid #fff;
		border-width: 0 0.2rem;
		width: 6.73rem;
		box-sizing: border-box;
		margin: 0 auto;
		background-color: #008cd6;
		td {
			position: relative;
			width: 1.9rem;
			height: 2.3rem;
			background-color: #fff;
			vertical-align: top;
		}
		img {
			width: 100%;
			display: block;
		}
		.info {
			width: 100%;
			position: absolute;
			bottom: -1px;
			left: 0;
			background: #4caee2;
			color: #fff;
			padding: 3px;
			font-size: 0.24rem;
			box-sizing: border-box;
		}
		span {
			color: red;
		}
	}
	a.link {
		position: absolute;
		left: 0.5rem;
		width: 1rem;
		height: 1rem;
		background-size: cover;
		border-radius: 1000px;
	}
	a.my-pic {
		background-image: url("@{s}my_pic.jpg");
		top: 1rem;
	}
	a.my-prize {
		background-image: url("@{s}my_prize.png");
		top: 2.2rem;
	}

	.list {
		box-sizing: border-box;
		width: 6.72rem;
		border: solid #fff;
		border-width: 0 0.2rem;
		margin: 0 auto;
		padding: 0.1rem;
	}
	.items {
		background: #fff;
		border: solid 0.2rem #fff;
	}
	.item-list {
		height: 5rem;
		overflow-y: auto;
	}
	.item {
		height: 1.5rem;
		background-color: #eeeeee;
		margin: 0 auto;
		margin-bottom: 0.2rem;
	}
	.prize-pic {
		width: 1.5rem;
		height: 1.5rem;
		background-size: cover;
		display: inline-block;
		vertical-align: top;
		&.l1 {
			background-image: url("@{i}2_04.png");
		}
		&.l2 {
			background-image: url("@{i}2_05.png");
		}
		&.l3 {
			background-image: url("@{i}2_03.png");
		}
		&.l4 {
			background-image: url("@{i}2_09.png");
		}
		&.l5 {
			background-image: url("@{i}2_07.png");
		}
	}
	.i-info {
		display: inline-block;
		width: 4rem;
		height: 1.5rem;
		padding-top: 0.2rem;
	}
	.ll1 {
		color: red;
		line-height: 2;
		font-size: 0.22rem;
	}
	.ll2 {
		font-size: 0.18rem;
		color: #666;
	}
	.back {
		background-image: url("@{s}b1.png");
		background-size: cover;
		width: 1rem;
		height: 1rem;
		display: block;
		margin: 1rem auto;
	}

}